assign a attribute to a link

I am trying to create a link property (attribute) but am not sure how to go about doing so. Basically for every link I want an attribute field called "Assumption" that describes the reasoning why the two objects are linked. I know how to create an attribute...but how do I assign that attribute to a link?
lsand - Tue Jul 06 18:40:46 EDT 2010

Re: assign a attribute to a link
lsand - Tue Jul 06 19:04:01 EDT 2010

Also when I look at the help file under "creating link attributes" it only describes how to make a generic attribute related to objects & modules, not links.

Re: assign a attribute to a link
PDU - Wed Jul 07 01:57:35 EDT 2010

lsand - Tue Jul 06 19:04:01 EDT 2010
Also when I look at the help file under "creating link attributes" it only describes how to make a generic attribute related to objects & modules, not links.

Hi,

open the link module, then : Edit / Attributs
then, on any object (of source or target module), you can do : properties / Links, select the link, Details, select the attribut, edit the attributs.

Pierre

Re: assign a attribute to a link
Mathias Mamsch - Wed Jul 07 06:10:03 EDT 2010

lsand - Tue Jul 06 19:04:01 EDT 2010
Also when I look at the help file under "creating link attributes" it only describes how to make a generic attribute related to objects & modules, not links.

To create a link attribute, just create the attribute in the link module. Afterwards you will be able to set the attribute value for the links that use that link module. Regards, Mathias


Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS

Re: assign a attribute to a link
lsand - Wed Jul 07 13:38:14 EDT 2010

thank you!

Re: assign a attribute to a link
llandale - Wed Jul 07 17:04:49 EDT 2010

Yes, create it in the open-edited link module. However, its values are stored in the Link which is stored in the source module, so in order to modify the link value you must have modify access to the source object (open edit or lock the section), then do something like this in DXL:

lnk."Assumption" = get(dbeAssumptionPromptedFromUser)


Then save the source module.

 

 

  • Louie

 

 

Re: assign a attribute to a link
lsand - Wed Jul 07 17:17:15 EDT 2010

llandale - Wed Jul 07 17:04:49 EDT 2010

Yes, create it in the open-edited link module. However, its values are stored in the Link which is stored in the source module, so in order to modify the link value you must have modify access to the source object (open edit or lock the section), then do something like this in DXL:

lnk."Assumption" = get(dbeAssumptionPromptedFromUser)


Then save the source module.

 

 

  • Louie

 

 

thanks for the input.